package com.homedo.odin.solution.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.homedo.odin.solution.model.entity.AdPosition;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> Mapper接口 </p>
 *
 * @author ZhangLei
 * @date 2018-05-15
 * @Description:
 */
public interface AdPositionMapper extends BaseMapper<AdPosition> {

    AdPosition selectByPositionCode(@Param("positionCode") String positionCode);

    List<AdPosition> selectByPageOrAreaOrPositionCode(@Param("pageCode") String pageCode,
            @Param("areaCode") String areaCode, @Param("positionCode") String positionCode);

    List<AdPosition> selectAllPositions(@Param("isDel") Integer isDel);
}